propsage.namespace("prestige.contact");

prestige.contact.demandUploadWizard  = (function($, ui){    
	
	function initComponents(){
		$('#duplicates_merge_configuration').hide();
	} 
	
	function initEventHandlers() {
		$('.auto-merge').change(onAutoMergeValueChange);
	}
	
	function onAutoMergeValueChange() {
		var $this = $(this);
		
		if($this.prop('checked')) {
			$('#duplicates_merge_configuration').show();
		} else {
			$('#duplicates_merge_configuration').hide();
		}
	}


	$(document).ready(function(){
		initComponents();
		initEventHandlers();
	});
}(jQuery, propsage.ui));